package cn.schoolwow.util.module.compare.jsonarray.service;

import cn.schoolwow.quickflow.QuickFlowExecutor;
import cn.schoolwow.quickflow.flow.CompositeBusinessFlow;
import cn.schoolwow.util.module.compare.jsonarray.flow.SetAddAndUpdateCompareJSONArrayFlow;
import cn.schoolwow.util.module.compare.jsonarray.flow.SetDeleteCompareJSONArrayFlow;

public class CompareJSONArrayCompositeBusiness implements CompositeBusinessFlow {
    @Override
    public void executeCompositeBusiness(QuickFlowExecutor quickFlowExecutor) {
        quickFlowExecutor.next(new SetAddAndUpdateCompareJSONArrayFlow())
                .next(new SetDeleteCompareJSONArrayFlow());
    }

    @Override
    public String name() {
        return "比较JSON列表";
    }
}
